package com.jxk.springcloud.alibaba.service;

import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @ClassName : AccountService  //类名
 * @Description :   //描述
 * @Author : jxk  //作者
 * @Date: 2020-09-29 16:56  //时间
 */
public interface AccountService {

    /**
     * 扣减账户余额
     */
    void decrease(@RequestParam("userId") Long userId, @RequestParam("money") BigDecimal money);
}
